package routers

import (
	"StarveMonitor/controllers"
	"github.com/astaxie/beego"
)

func init() {
    beego.Router("/", &controllers.MainController{})
    beego.Router("/index", &controllers.MainController{})
	beego.Router("/notifyclient", &controllers.MainController{}, "get:NotifyClient")
	beego.Router("/restartorhotupdate", &controllers.MainController{}, "get:RestartOrHotUpdate")
	beego.Router("/errorlog", &controllers.MainController{}, "get:ErrorLog")
	beego.Router("/geterrorlogs", &controllers.MainController{}, "get:GetErrorLogs")
	beego.Router("/errorlogcontent", &controllers.MainController{}, "get:ErrorLogContent")
}
